#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include<myscene.h>
#include <qpainter.h>



namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = nullptr);
    ~Dialog();
    void paintEvent(QPaintEvent *event);

private slots:
    void updatescore();
private:
    Ui::Dialog *ui;
    myscene *sc;
    int score;
};

#endif // DIALOG_H
